<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<script src="js/vue.js"></script>
		<title>demo3-8</title>
	</head>
	<body>
		<div id="app">
			<ul>
				<li v-for="book in books">{{index}}-{{book.title}}</li>
			</ul>
		</div>
	</body>
	<script>
		var vm = new Vue({
			el:'#app',
			data:{
				books:[
					{title:"Vue 无难事"},
					{title:"VC++深入详解"},
					{title:"Servlet/JSP 深入详解"}
				]
			}
		})	
	</script>
</html>